#ifndef USER_H
#define USER_H

#include <QString>

class User {
public:
    User(const QString& name) {
        this->name_ = name;
        id_ = 0;
    }

    User(const QString& name, int id) {
        this->name_ = name;
        this->id_ = id;
    }

    int getId() const {
        return id_;
    }

    const QString& getName() const {
        return name_;
    }

    void setId(int id) {
        this->id_ = id;
    }

    void setName(const QString name) {
        this->name_ = name;
    }

private:
    int id_;
    QString name_;
};

#endif // USER_H
